package com.sunda.spmsoversea.enums;

public enum OverseaDeliveryNoteEnum {

    /** 海外交货单——SPMS单据状态
     修改后SPMS交货单状态设计：
     默认0待到货/SPMS可从SAP更新单据；
     1-收货中/SAP凭证撤销；
     2-入库完成/提交OA成功；
     3-提交OA失败；
     4-OA审批不通过；
     5-OA审批通过；
     6-收货多收提交SAP失败；
     7-收货多收提交SAP成功；
     8-收货少收提交SAP失败；
     9-收货少收提交SAP成功；
     10-提交SAP完成；
     11-收货完成；
     12-关闭/废单;
     */
    OVERSEA_DN_WAITING("0", "待到货", "Waiting."),
    OVERSEA_DN_RECEIVING("1", "收货中", "Receiving."),
    OVERSEA_WHS_IN_DONE("2", "入库完成", "Whs In Completed."),

    OVERSEA_DN_SUBMIT_OA("2", "提交OA成功", "Submit OA Success."),
    OVERSEA_DN_SUBMIT_OA_ERROR("3", "提交OA失败", "Submit OA Failed."),
    OVERSEA_DN_OA_REJECT("4", "OA审批不通过", "OA Reject."),
    OVERSEA_DN_OA_APPROVED("5", "OA审批通过", "OA Approved."),

    OVERCHARGED_TO_SAP_ERROR("6", "收货多收提交SAP失败", "Failed to Submit SAP for Overcharge."),
    OVERCHARGED_TO_SAP("7", "收货多收提交SAP成功", "Overcharge Submit to SAP Successfully."),
    UNDERCHARGED_TO_SAP_ERROR("8", "收货少收提交SAP失败", "Failed to submit SAP for Undercharge."),
    UNDERCHARGED_TO_SAP("9", "收货少收提交SAP成功", "Undercharge Submit to SAP Successfully."),
    OVERSEA_DN_SUBMIT_SAP("10", "提交SAP完成", "Submit SAP Success."),
    OVERSEA_DN_COMPLETED("11", "收货完成", "Delivery Note Completed."),
    OVERSEA_DN_DELETE("12", "关闭", "Delivery Note Deleted."),

    OVERSEA_DN_CANCEL("-1", "已撤销", "Cancel."),
    OVERSEA_DN_CANCEL_TO_RECEIVING("1", "撤销到收货中", "Cancel To Receiving."),
    OVERSEA_DN_CANCEL_TO_DONE("2", "撤销到入库完成", "Cancel To Whs In Completed."),
    OVERSEA_DN_CANCEL_TO_WAITING("0", "撤销到待到货", "Cancel To Waiting."),
    OVERSEA_DN_CANCEL_ERROR("98", "撤销失败", "Cancel Error."),
    OVERSEA_DN_CREATE_WHS_IN("97", "生成入库任务", "Create Whs In Task."),
    OVERSEA_DN_UPDATE("96", "更新成功", "Update Success."),
    OVERSEA_DN_WHS_IN_SUCCESS("95","少收转实收提交SAP入库成功","Warehousing Submit SAP Success."),
    OVERSEA_DN_WHS_IN_ERROR("94","少收转实收提交SAP入库失败","Warehousing Submit SAP Error."),
    OVERSEA_DN_WHS_IN_CANCEL("93","少收转实收提交SAP入库撤销成功","Warehousing Cancel Submit SAP Success."),
    OVERSEA_DN_WHS_IN_CANCEL_ERROR("92","少收转实收提交SAP入库撤销失败","Warehousing Cancel Submit SAP Error.");


    private String code;
    private String descZh;
    private String descEn;

    OverseaDeliveryNoteEnum(String code, String descZh, String descEn) {
        this.code = code;
        this.descZh = descZh;
        this.descEn = descEn;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescZh() {
        return descZh;
    }

    public void setDescZh(String descZh) {
        this.descZh = descZh;
    }

    public String getDescEn() {
        return descEn;
    }

    public void setDescEn(String descEn) {
        this.descEn = descEn;
    }
}
